home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gRecNumber, gAutoMode, gCurrentSlideShow, gCurrentZone, gPictureSprite, gElevatorSprite, gScrollBarSprite, gSlideListCstNum, gTitleCstNum, gFirstPictureCstNum, gDelayTime, gPictNumInOrder, gLinesNumber
- set the visible of sprite 17 to 1
- set the visible of sprite 3 to 1
- set the visible of sprite 4 to 1
- set the visible of sprite 6 to 1
- repeat with i = 21 to 24
- set the visible of sprite i to 0
- end repeat
- set gLinesNumber to 147
- set gDelayTime to 180
- set gSlideListCstNum to the number of member "cstFullNames"
- set gTitleCstNum to the number of member "cstSlideTitle" of castLib "sshow"
- set gFirstPictureCstNum to the number of member 1 of castLib "slidenw"
- startTimer()
- unloadMember()
- set gAutoMode to 0
- set the locH of sprite gElevatorSprite to the left of sprite gScrollBarSprite
- set the itemDelimiter to ","
- set gPictNumInOrder to value(item gCurrentZone of the text of member "order" of castLib "sshow")
- set the itemDelimiter to ","
- set recLine to line gPictNumInOrder of the text of member gSlideListCstNum of castLib "sshow"
- set gRecNumber to value(word 1 of item 2 of recLine)
- delete word 1 of item 2 of recLine
- set the text of member "cstType" of castLib "sshow" to item 4 of recLine
- set the text of member "cstBase" of castLib "sshow" to item 6 of recLine
- if item 5 of recLine = "long" then
- set tempNum to the number of member 9 of castLib "sshow"
- end if
- if item 5 of recLine = "short" then
- set tempNum to the number of member 10 of castLib "sshow"
- end if
- if item 5 of recLine = "shot" then
- set tempNum to the number of member 11 of castLib "sshow"
- end if
- if item 5 of recLine = "hot" then
- set tempNum to the number of member 11 of castLib "sshow"
- end if
- set the castNum of sprite 7 to tempNum
- set the text of member gTitleCstNum of castLib "sshow" to item 1 of recLine
- set the castNum of sprite gPictureSprite to member (gFirstPictureCstNum + gRecNumber - 1) of castLib "slidenw"
- end
-